﻿/*******************QPushButton************************/
QPushButton{
}

QPushButton#ChooseInstallbtn:flat {
    background-color:transparent;
    border-style:inset;
}
QPushButton#ChooseInstallbtn:pressed {
    background:rgba(61,107,229,1);
    border-style:inset;
}
QPushButton#ChooseInstallbtn:hover {
    background-color:rgba(61,107,229,0.5);
}
QPushButton#ChooseInstallbtn:checked {
    background-color:rgba(61,107,229,1);
    border-style:inset;
}

QPushButton#ChooseInstallbtn {
    max-width:100px;
    max-height:30px;
    min-width:100px;
    min-height:30px;
    border-radius:4px;
    font-size: 14px;
    color:white;
}

QPushButton#revertBtn{
    padding:11px 8px 11px 8px;
    font-size: 14px;
    color:white;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.2) ;
}


QPushButton#revertBtn:hover{
    width:114px;
    height:36px;
    opacity:1;
    border-radius:4px;
    background:rgba(255, 255, 255, 0.35);
}

QPushButton#revertBtn:checked{
    width:114px;
    height:36px;
    opacity:1;
    border-radius:4px;
    background:rgba(255, 255, 255, 0.25);
}

/********************QLabel************************/
QLabel {
    color:white;
    font-size:14px;
}

QLabel#mainTitle {
    font-size:40px;
    color:white;
    font-family:Noto Sans CJK SC;
    font-weight:400;
    color:rgba(255,255,255,1);
    line-height:24px;
}

/********************QProgressBar************************/

QProgressBar {
    width: 116px;
    height: 1px;
}


QWidget#tableLayoutWidget,#psWidget {

    background-color:transparent;
}

/*******************QComboBox************************/
/***********************QComboBox*************************************************/
QComboBox
{
    width: 300px;
    height: 40px;
    border-radius:6px;
    background-color:rgba(0,0,0,0.25);
    font-size:14px;
    font-weight:400;
    font-family:Noto Sans CJK SC;
    color:rgb(255,255,255);
    border:0px ;
    padding-top: 2px;
    padding-left:22px;
    opacity:1;
    combobox-popup: 0;
}
QComboBox:disabled
{
    background-color:rgba(0,0,0,0.1);
    color:rgb(255,255,255);;
}
QComboBox:hover
{
    background-color:#304450;
    border:2px solid #5BADFF;
    opacity:1;
}
/*点击combox的样式*/
QComboBox:on
{
    opacity:1;
    border-radius:6px;
    background-color:#304450;
    color:rgb(255,255,255);
    opacity:1;
    /*border:2px solid #5BADFF;*/
}
/*下拉框的样式*/
QComboBox QAbstractItemView
{
    width: 300px;
    height: 128px;
    font-size:14px;
/*    border: 1px solid rgba(255,255,255,0.05) ;*/
    color: rgb(255,255,255);
    background:#2B3D48;
/*    padding-left:22px;*/
    border-radius:6px;
/*    selection-background-color: rgba(255,255,255,0.25);*/
}
 /*选中每一项高度*/
QComboBox QAbstractItemView::item
{
    height: 40px;
    background:#2B3D48;
    padding-left:22px;
}
/*选中每一项的字体颜色和背景颜色*/
QComboBox QAbstractItemView::item:selected
{
    height: 40px;
    color: rgb(255,255,255);
    background-color:#4BA0F5;
    opacity:1;
}
 /*下拉箭头的边框*/
QComboBox::drop-down
{
    border:none;
}
 /*下拉箭头样式*/
QComboBox::down-arrow
{
    right:10px;/*控制箭头左右偏移*/
    width: 9px;
    height: 9px;
    image: url(:/data/png/pan-down-symbolic.svg);
}


 /*下拉箭头点击样式*/
QComboBox::down-arrow:on
{
    width: 9px;
    height: 9px;
    image: url(:/data/png/pan-up-symbolic.svg);
}
QComboBox QListView {
/*    padding-left:22px;*/
    width: 300px;
    height: 128px;
    background:#2B3D48;
    border-radius:6px;
}
QComboBox QListView:item {
    height: 40px;
    background:#2B3D48;
    padding-left:22px;
}

QScrollArea{
border: 0px solid #f5f5f7;
padding-right:-10px;


}
/*垂直滚动条整体*/
QScrollBar:vertical {
/*    border: 0px;*/
    width:6px;
    border-radius:3px;
    background:rgba(255,255,255,1);

    background-color:transparent;
}
QScrollBar:vertical:hover {
    width:6px;
    margin-top:4px;   /*上预留位置*/
    margin-bottom:4px;    /*下预留位置*/
    background:rgba(255,255,255,0.2);
    border-radius:3px;

}
QScrollBar::handle:vertical:selected {
    width:6px;
    border-radius:3px;
    background:rgba(255,255,255,0.4);

}

/*滚动条中滑块的样式*/
QScrollBar::handle:vertical {
    width:6px;
    border-radius:3px;
    background:rgba(255,255,255,0.2);
}

/*鼠标触及滑块样式*/
QScrollBar::handle:vertical:hover {
    width:6px;
    background:rgba(255,255,255,0.2);
    border-radius:3px;
}

/*设置下箭头*/
QScrollBar::add-line:vertical {
    height:2px;
    width:6px;
    border-radius:3px;
    /*border-image:url(:/selectfile/scroll/3.png);*/
    subcontrol-position:bottom;
}

/*设置上箭头*/
QScrollBar::sub-line:vertical {
    height:2px;
    width:6px;
    border-radius:3px;
    /*border-image:url(:/selectfile/scroll/1.png);*/
    subcontrol-position:top;
}

/*设置下箭头:悬浮状态*/
QScrollBar::add-line:vertical:hover {
    height:12px;
    width:6px;
    border-radius:3px;
    /*border-image:url(:/selectfile/scroll/4.png);*/
    subcontrol-position:bottom;
}

/*设置上箭头：悬浮状态*/
QScrollBar::sub-line:vertical:hover {
    height:2px;
    width:6px;
    border-radius:3px;
   /* border-image:url(:/selectfile/scroll/2.png);*/
    subcontrol-position:top;
}

/*当滚动条滚动的时候，上面的部分和下面的部分*/
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical {
    background:rgba(255,255,255,0);
    border-radius:3px;
}
